package matlap.client.services.task;

import java.util.List;

import matlap.shared.Task;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface TaskServiceAsync {

	void insertTask(Task task, AsyncCallback<Boolean> callback);

	void getTaskByUserName(String userName, AsyncCallback<List<Task>> callback);

	void getTasksNumber(AsyncCallback<Integer> asyncCallback);

	void getTasks(AsyncCallback<List<Task>> callback);

}
